package org.dbpt.performance;

/**
 * Abstract base class for integer params.
 * @author Sergey Grigorchuk (sergey.grigorchuk@gmail.com)
 *
 */
public abstract class IntegerGenerator implements ParamGenerator {
	private int min = 0;
	private int max = 100;

	public int getMin() {
		return min;
	}
	
	public void setMin(int min) {
		this.min = min;
	}
	
	public int getMax() {
		return max;
	}
	
	public void setMax(int max) {
		this.max = max;
	}
	
	public IntegerGenerator(int min, int max) {
		super();
		this.min = min;
		this.max = max;
	}
	
	public IntegerGenerator(int max) {
		super();
		this.max = max;
	}
	
	public IntegerGenerator() {
		super();
	}
}
